<?php get_header(); ?>
<!-- CONTENT -->
  <div class="content">
    <div class="content_botbg">
      <div class="content_res">

            <!-- featured listings -->
            <div class="shadowblock_out">
                <div class="shadowblockdir">

                    <h2 class="dotted">推荐 APP...</h2>
                    <div class="sliderblockdir">

                        <div id="list">
                            <div class="slider">
                                <ul>
                                        <li>00
                                            <span class="feat_left"><a href="http://127.0.0.1/wordpress3/hello-world/" title="Hello world！"><img class="captify" alt="" title="" src="http://127.0.0.1/wordpress3/wp-content/themes/classipress/images/no-thumb-sm.jpg" /></a><div class="clr"></div><span class="price_sm">&nbsp;</span></span>
                                            <p><a href="http://127.0.0.1/wordpress3/hello-world/">Hello world！</a> </p>
                                        </li>
                                </ul>
                            </div>
                        </div><!-- /slider -->
                        <div class="clr"></div>
                    </div><!-- /sliderblock -->
                </div><!-- /shadowblock -->
            </div><!-- /shadowblock_out -->

            
            
        
        <!-- left block -->
        <div class="content_left">


            <div class="shadowblock_out">

                <div class="shadowblock">

                    <h2 class="dotted">最新加入网站</h2>

                    <div id="directory" class="directory">

<?php 
	$display_taxonomy = array('blackberry','android','webos'); foreach ($display_taxonomy as $taxonomy) { //定义一个数组
	query_posts("showposts=4&cat=$266");
	query_posts( array( 'k_system'=>$taxonomy, 'post_type' => 'k_website') );
?> 
		<div class="catcol first">
        <ul>
            <li class="maincat"><a href="<?php echo get_category_link($category);?>"><?php single_cat_title(); ?>oo</a></li>
   <?php while (have_posts()) : the_post(); ?>
       <li class="cat-item cat-item-1475"><a href="<?php the_permalink() ?>" rel="bookmark" title="<<?php the_title(); ?>"><?php the_title(); ?></a></li>
        <?php endwhile; ?>
        </ul>
 </div>
<?php } ?> 
    <!-- /catcol -->    
                        <div class="clr"></div>
                    </div><!--/directory-->
                </div><!-- /shadowblock -->
            </div><!-- /shadowblock_out -->

        <div class="tabcontrol">
      
            <!-- tab 1 -->
            <div id="block1">
              <div class="clr"></div>
                <h2 class="dotted">最新资讯/ <strong><span class="colour">Just Listed</span></strong></h2>

                      <div class="whiteblock can_chg_bg">

                          <a href="http://127.0.0.1/wordpress3/hello-world/"><img class="attachment-medium" alt="" title="" src="http://127.0.0.1/wordpress3/wp-content/themes/classipress/images/no-thumb.jpg" /></a>

                            <div class="priceblockbig">

                                <h3><a href="http://127.0.0.1/wordpress3/hello-world/">Hello world！</a></h3>

                                <p class="price">&nbsp;</p>

                                <div class="clr"></div>

                                <p class="bot4px dotted">Category: <a href="http://127.0.0.1/wordpress3/category/%e6%9c%aa%e5%88%86%e7%b1%bb/" title="查看 未分类 的全部文章" rel="category tag">未分类</a> | Listed: 2011 年 03 月 12 日</p>
                                <p class="descr">欢迎使用 WordPress。这是系统自动生成的演示文章。编辑或者删除它，开始您的博客！...</p>

                                <div class="clr"></div>

                            </div>

                            <div class="clr"></div>

                      </div><!-- /whiteblock -->

                    
                    
                
		
            </div><!-- /block1 -->

            </div><!-- /tabcontrol -->
            </div><!-- /content_left -->

    	<?php get_sidebar(); ?>
            <div class="clr"></div>


        </div><!-- /content_res -->

    </div><!-- /content_botbg -->

</div><!-- /content -->

<?php get_footer(); ?>